package BDLayer;

import java.util.List;

import modelLayer.Person;

public interface IFDBStoreEmployee {

	
	//return list of type ProductEmployee "all"
	public List<Person> getAllProEmp(boolean retriveAssociation);
	
	
	//return an object of type StoreEmployee by person id
	public Person getStoreEmpPersonID(int personID, boolean retriveAssociation);
	
	
	//return an object of type StoreEmployee by initial
	public Person getStoreEmpByInitital(String initial, boolean retriveAssociation);
	
	
	//insert StoreEmployee object in DB
	//return 1 if ok, -1 if failed
	public int insertStoreEmployee(Person storeEmpObj, boolean retriveAssociation) throws Exception;
	
	//update StoreEmployee object in DB
		//return 1 if ok, -1 if failed
	public int updateStoreEmployee(Person storeEmpObj, boolean retriveAssociation) throws Exception;


	//delete StoreEmployee object in DB
		//return 1 if ok, -1 if failed
	public int deleteStoreEmployee(Person storeEmpObj, boolean retriveAssociation) throws Exception;

	
}
